package com.nbgroup.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class Course implements Serializable {
    //活动id
    private Long id;
    //课程编号
    private String code;
    //课程名称
    private String name;
    //课程学科
    private String subject;
    //课程介绍
    private String info;
    //课程价格
    private BigDecimal price;
    //适应人群
    private String applicablePerson;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //修改人
    private String createBy;
    //创建人
    private String updateBy;
}
